home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Internet Tools 1993 July / Internet Tools.iso / RockRidge / mail / sendmail / sendmail-5.65c+IDA-1.4.4.1 / ida / cf / cftest < prev    next >
Encoding:
Text File  |  1990-06-13  |  264 b   |  12 lines

  1. #!/bin/sh
  2. #
  3. #    usage: cftest [sendmail_options] < test_file
  4. #
  5. #    sends the test patterns on stdin through sendmail and
  6. #    collects the results.
  7. #
  8.  
  9. /usr/lib/sendmail -bt $* | awk '\
  10.     !/^>/ {lastline = $0} \
  11.     /^>/  {print lastline; print ""; print substr($0, 3, 999)}'
  12.